@namespace MXERP.Blazor.Components
@typeparam T
@inherits TemplateColumn<T>
@code{
    internal RenderFragment RenderHeaderTemplate(HeaderContext<T> context)
    {
        return 
        @<MudCheckBox Dense T = "bool?" Size = "@Size" Value = "@context.IsAllSelected" ValueChanged = "@context.Actions.SetSelectAll" />;
    }
    internal RenderFragment RenderCellTemplate(CellContext<T> context)
    {
        return
        @<MudCheckBox Dense T="bool" Size="@Size" Value="@context.Selected" ValueChanged="@context.Actions.SetSelectedItem" />;
    }
}


